package hello

import "fmt"

type Integer int64

type Number interface {
	String() string
	ADD(Number) Number
}

func (x Integer) String() string {
	return fmt.Sprintf("%d", x)
}
func (x Integer) ADD(y Number) Number {
	yi := y.(Integer)
	z := x + yi
	return z
}
